package com.hnhn.c69.boot.service.impl;

import com.hnhn.c69.boot.mapper.HospitalMapper;
import com.hnhn.c69.boot.pojo.Hospital;
import com.hnhn.c69.boot.service.HospitalService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class HospitalServiceImpl implements HospitalService {
    @Autowired
    HospitalMapper hospitalMapper;
    @Override
    public List<Hospital> findAll() {
        return hospitalMapper.findAll();
    }
}
